/**
 * Created by lz on 2018/1/7.
 */
import React from 'react';
import {isUndefined} from '../../utils/Tools';
import classNames from 'classnames';


import './style/index.scss';//引入样式文件
const prefix = 'lz-'
function Header(props) {
    let {className, left, right, ...others} = props;
    className = classNames(className, prefix + 'header-container');
    return <div className={className} {...others}>
        <div className="left">{left}</div>
        <div className="middle">{props.children}</div>
        <div className="right">{right}</div>
    </div>
}

export default Header;